[INFO] fetching crate ninmu-runtime 0.1.0...
[INFO] fixing ninmu-runtime-0.1.0 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate ninmu-runtime 0.1.0 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate ninmu-runtime 0.1.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate ninmu-runtime 0.1.0
[INFO] tweaked toml for crates.io crate ninmu-runtime 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate ninmu-runtime 0.1.0 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate ninmu-runtime 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 922a528f3170b8473ef00105c6ef0aa0d37293f6e0c04cc6f875c5f1d2fded91
[INFO] running `Command { std: "docker" "start" "922a528f3170b8473ef00105c6ef0aa0d37293f6e0c04cc6f875c5f1d2fded91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "922a528f3170b8473ef00105c6ef0aa0d37293f6e0c04cc6f875c5f1d2fded91" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "922a528f3170b8473ef00105c6ef0aa0d37293f6e0c04cc6f875c5f1d2fded91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "922a528f3170b8473ef00105c6ef0aa0d37293f6e0c04cc6f875c5f1d2fded91" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]     Checking ninmu-plugins v0.1.0
[INFO] [stderr]     Checking ninmu-telemetry v0.1.0
[INFO] [stderr]     Checking tokio v1.52.1
[INFO] [stderr]     Checking ninmu-runtime v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/oauth.rs (2 fixes)
[INFO] [stderr]        Fixed src/prompt.rs (6 fixes)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]     --> src/mcp_stdio.rs:1099:18
[INFO] [stdout]      |
[INFO] [stdout] 1067 |                   server.process = Some(spawn_mcp_stdio_process(&server.bootstrap)?);
[INFO] [stdout]      |                                         -------------------------------------------
[INFO] [stdout]      |                                         |
[INFO] [stdout]      |                                         this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]      |                                         `#1` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 1093 | /                 Self::run_process_request(
[INFO] [stdout] 1094 | |                     server_name,
[INFO] [stdout] 1095 | |                     "initialize",
[INFO] [stdout] 1096 | |                     MCP_INITIALIZE_TIMEOUT_MS,
[INFO] [stdout] ...    |
[INFO] [stdout] 1099 | |                 .await
[INFO] [stdout]      | |                  ^^^^-
[INFO] [stdout]      | |                  |   |
[INFO] [stdout]      | |__________________|___`__awaitee` calls a custom destructor
[INFO] [stdout]      |                    |   `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout]      |                    this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]      |                    up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 1100 |               };
[INFO] [stdout]      |                - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout] ...
[INFO] [stdout] 1105 |                       self.reset_server(server_name).await?;
[INFO] [stdout]      |                       ------------------------------------
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]      |                       `#2` will be dropped later as of Edition 2024
[INFO] [stdout]      |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/io/poll_evented.rs:312:1
[INFO] [stdout]      |
[INFO] [stdout]  312 | impl<E: Source> Drop for PollEvented<E> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/process/mod.rs:1123:1
[INFO] [stdout]      |
[INFO] [stdout] 1123 | impl<T: Kill> Drop for ChildDropGuard<T> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]      = warning: this changes meaning in Rust 2024
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]      = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]     --> src/mcp_stdio.rs:1099:18
[INFO] [stdout]      |
[INFO] [stdout] 1067 |                   server.process = Some(spawn_mcp_stdio_process(&server.bootstrap)?);
[INFO] [stdout]      |                                         -------------------------------------------
[INFO] [stdout]      |                                         |
[INFO] [stdout]      |                                         this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]      |                                         `#1` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 1093 | /                 Self::run_process_request(
[INFO] [stdout] 1094 | |                     server_name,
[INFO] [stdout] 1095 | |                     "initialize",
[INFO] [stdout] 1096 | |                     MCP_INITIALIZE_TIMEOUT_MS,
[INFO] [stdout] ...    |
[INFO] [stdout] 1099 | |                 .await
[INFO] [stdout]      | |                  ^^^^-
[INFO] [stdout]      | |                  |   |
[INFO] [stdout]      | |__________________|___`__awaitee` calls a custom destructor
[INFO] [stdout]      |                    |   `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout]      |                    this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]      |                    up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 1100 |               };
[INFO] [stdout]      |                - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout] ...
[INFO] [stdout] 1105 |                       self.reset_server(server_name).await?;
[INFO] [stdout]      |                       ------------------------------------
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]      |                       `#2` will be dropped later as of Edition 2024
[INFO] [stdout]      |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/io/poll_evented.rs:312:1
[INFO] [stdout]      |
[INFO] [stdout]  312 | impl<E: Source> Drop for PollEvented<E> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/process/mod.rs:1123:1
[INFO] [stdout]      |
[INFO] [stdout] 1123 | impl<T: Kill> Drop for ChildDropGuard<T> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]      = warning: this changes meaning in Rust 2024
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]      = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/integration_tests.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.64s
[INFO] [stderr] crater-edition-check: ninmu-runtime v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking ninmu-runtime v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/oauth.rs:559:9
[INFO] [stdout]     |
[INFO] [stdout] 559 |         unsafe { std::env::set_var("CLAW_CONFIG_HOME", &config_home) };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-F unsafe-code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/oauth.rs:586:9
[INFO] [stdout]     |
[INFO] [stdout] 586 |         unsafe { std::env::remove_var("CLAW_CONFIG_HOME") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/prompt.rs:805:9
[INFO] [stdout]     |
[INFO] [stdout] 805 |         unsafe { std::env::set_var("HOME", &root) };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/prompt.rs:807:9
[INFO] [stdout]     |
[INFO] [stdout] 807 |         unsafe { std::env::set_var("CLAW_CONFIG_HOME", root.join("missing-home")) };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/prompt.rs:819:13
[INFO] [stdout]     |
[INFO] [stdout] 819 |             unsafe { std::env::set_var("HOME", value) };
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/prompt.rs:822:13
[INFO] [stdout]     |
[INFO] [stdout] 822 |             unsafe { std::env::remove_var("HOME") };
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/prompt.rs:826:13
[INFO] [stdout]     |
[INFO] [stdout] 826 |             unsafe { std::env::set_var("CLAW_CONFIG_HOME", value) };
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/prompt.rs:829:13
[INFO] [stdout]     |
[INFO] [stdout] 829 |             unsafe { std::env::remove_var("CLAW_CONFIG_HOME") };
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ninmu-runtime` (lib test) due to 8 previous errors
[INFO] running `Command { std: "docker" "inspect" "922a528f3170b8473ef00105c6ef0aa0d37293f6e0c04cc6f875c5f1d2fded91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "922a528f3170b8473ef00105c6ef0aa0d37293f6e0c04cc6f875c5f1d2fded91", kill_on_drop: false }`
[INFO] [stdout] 922a528f3170b8473ef00105c6ef0aa0d37293f6e0c04cc6f875c5f1d2fded91
